#pragma once

class WWater: public IWorldMod, public ISingleton<WWater>
{
public:
	WWater();

	void InitWaterPlane();

	virtual ~WWater();

	/*-IWorldMod----------------------------------------------------------------*/
	void OnLevelLoad(const std::string& level);
	void OnLevelUnload();
	void OnLevelCalc();

	/*--------------------------------------------------------------------------*/

	void SetWaterLevel(float f);

private:
	VertexArray* m_waterVao;
	RenderableVao* m_waterRenderable;
};

